package com.sskj.lib.bean;

import android.arch.persistence.room.Embedded;
import android.arch.persistence.room.Entity;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.List;

import javax.annotation.Nullable;

/**
 * Created by lv on 18-5-7.
 */
@Entity(primaryKeys = {"id"})
public class UserData implements Serializable {


    @Nullable
    private Integer id;
    private String account;
    private String jigou_code;
    private String idcard;
    private String mail;
    private String mobile;
    private String reg_time;
    private Integer pay_list;
    private String wallone;
    private String tgno;
    private String crowd_num;
    private String qd_status;
    private Integer qd;
    private int is_shop;
    private Integer is_apply;
    private String apply_reason;
    private String concession_rate;
    private String tb_fee;
    private String tb_max;
    private String tb_min;
    private String usdt;

    private String grade;
    private String fy_rate;
    /**
     * area_code : 86
     * phone : 15978440312
     * email : null
     * name : null
     * avatar : images/2019_11_10/5c9775998128fe102cb5b51b80ac8ca07771.png
     * tpath : null
     * authentication : 0
     * stoped : 0
     * created_at : 2019-11-05 14:15:41
     * updated_at : 2019-11-10 15:45:34
     * return : 0
     * refuse_reason : null
     * card_id : null
     * config : {"google_verify":1,"google_bind":1,"sms_verify":0,"payment_password_set":0,"phone_bind":1,"phone_verify_at":"2019-11-05 14:15:41","email_bind":0,"email_verify_at":null,"security_level":0,"jd_level":11,"created_at":"2019-11-05 14:15:41","updated_at":"2019-11-10 17:04:25"}
     * wallasset : {"ttl_usdt":0,"ttl_rmb":0,"ttl_usd":0,"ttl_th":0,"asset":[{"id":2,"code":"EGG","actprice":0.454,"balance":0,"frost":0,"balance_usdt":0,"balance_rmb":0,"balance_th":0,"balance_usd":0},{"id":3,"code":"FEED","actprice":2.0895,"balance":0,"frost":0,"balance_usdt":0,"balance_rmb":0,"balance_th":0,"balance_usd":0},{"id":8,"code":"PEACOCK","actprice":2.0895,"balance":0,"frost":0,"balance_usdt":0,"balance_rmb":0,"balance_th":0,"balance_usd":0},{"id":1,"code":"USDT","actprice":0,"balance":0,"frost":0,"balance_usdt":0,"balance_rmb":0,"balance_th":0,"balance_usd":0}]}
     */

    private String area_code;
    private String phone;
    private String email;
    private String name;
    private String avatar;
    private String tpath;
    private int authentication;
    private int stoped;
    private String created_at;
    private String updated_at;
    private String refuse_reason;
    private String card_id;
    @Embedded
    public  ConfigBean config;


    @Nullable
    public Integer getId() {
        return id;
    }

    public void setId(@Nullable Integer id) {
        this.id = id;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getJigou_code() {
        return jigou_code;
    }

    public void setJigou_code(String jigou_code) {
        this.jigou_code = jigou_code;
    }

    public String getIdcard() {
        return idcard;
    }

    public void setIdcard(String idcard) {
        this.idcard = idcard;
    }

    public String getMail() {
        return mail;
    }

    public void setMail(String mail) {
        this.mail = mail;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getReg_time() {
        return reg_time;
    }

    public void setReg_time(String reg_time) {
        this.reg_time = reg_time;
    }

    public Integer getPay_list() {
        return pay_list;
    }

    public void setPay_list(Integer pay_list) {
        this.pay_list = pay_list;
    }

    public String getWallone() {
        return wallone;
    }

    public void setWallone(String wallone) {
        this.wallone = wallone;
    }

    public String getTgno() {
        return tgno;
    }

    public void setTgno(String tgno) {
        this.tgno = tgno;
    }

    public String getCrowd_num() {
        return crowd_num;
    }

    public void setCrowd_num(String crowd_num) {
        this.crowd_num = crowd_num;
    }

    public String getQd_status() {
        return qd_status;
    }

    public void setQd_status(String qd_status) {
        this.qd_status = qd_status;
    }

    public int getIs_shop() {
        return is_shop;
    }

    public void setIs_shop(int is_shop) {
        this.is_shop = is_shop;
    }

    public Integer getIs_apply() {
        return is_apply;
    }

    public void setIs_apply(Integer is_apply) {
        this.is_apply = is_apply;
    }


    public String getApply_reason() {
        return apply_reason;
    }

    public void setApply_reason(String apply_reason) {
        this.apply_reason = apply_reason;
    }

    public String getConcession_rate() {
        return concession_rate;
    }

    public void setConcession_rate(String concession_rate) {
        this.concession_rate = concession_rate;
    }

    public String getTb_fee() {
        return tb_fee;
    }

    public void setTb_fee(String tb_fee) {
        this.tb_fee = tb_fee;
    }

    public String getTb_max() {
        return tb_max;
    }

    public void setTb_max(String tb_max) {
        this.tb_max = tb_max;
    }

    public String getTb_min() {
        return tb_min;
    }

    public void setTb_min(String tb_min) {
        this.tb_min = tb_min;
    }

    public String getUsdt() {
        return usdt;
    }

    public void setUsdt(String usdt) {
        this.usdt = usdt;
    }

    public Integer getQd() {
        return qd;
    }

    public void setQd(Integer qd) {
        this.qd = qd;
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }

    public String getFy_rate() {
        return fy_rate;
    }

    public void setFy_rate(String fy_rate) {
        this.fy_rate = fy_rate;
    }

    public String getArea_code() {
        return area_code;
    }

    public void setArea_code(String area_code) {
        this.area_code = area_code;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getTpath() {
        return tpath;
    }

    public void setTpath(String tpath) {
        this.tpath = tpath;
    }

    public int getAuthentication() {
        return authentication;
    }

    public void setAuthentication(int authentication) {
        this.authentication = authentication;
    }

    public int getStoped() {
        return stoped;
    }

    public void setStoped(int stoped) {
        this.stoped = stoped;
    }

    public String getCreated_at() {
        return created_at;
    }

    public void setCreated_at(String created_at) {
        this.created_at = created_at;
    }

    public String getUpdated_at() {
        return updated_at;
    }

    public void setUpdated_at(String updated_at) {
        this.updated_at = updated_at;
    }


    public String getRefuse_reason() {
        return refuse_reason;
    }

    public void setRefuse_reason(String refuse_reason) {
        this.refuse_reason = refuse_reason;
    }

    public String getCard_id() {
        return card_id;
    }

    public void setCard_id(String card_id) {
        this.card_id = card_id;
    }

    public ConfigBean getConfig() {
        return config;
    }

    public void setConfig(ConfigBean config) {
        this.config = config;
    }

    public static class ConfigBean {
        /**
         * google_verify : 1
         * google_bind : 1
         * sms_verify : 0
         * payment_password_set : 0
         * phone_bind : 1
         * phone_verify_at : 2019-11-05 14:15:41
         * email_bind : 0
         * email_verify_at : null
         * security_level : 0
         * jd_level : 11
         * created_at : 2019-11-05 14:15:41
         * updated_at : 2019-11-10 17:04:25
         */

        private int google_verify;
        private int google_bind;
        private int sms_verify;
        private int payment_password_set;
        private int phone_bind;
        private String phone_verify_at;
        private int email_bind;
        private String email_verify_at;
        private int security_level;
        private int jd_level;

        public int getGoogle_verify() {
            return google_verify;
        }

        public void setGoogle_verify(int google_verify) {
            this.google_verify = google_verify;
        }

        public int getGoogle_bind() {
            return google_bind;
        }

        public void setGoogle_bind(int google_bind) {
            this.google_bind = google_bind;
        }

        public int getSms_verify() {
            return sms_verify;
        }

        public void setSms_verify(int sms_verify) {
            this.sms_verify = sms_verify;
        }

        public int getPayment_password_set() {
            return payment_password_set;
        }

        public void setPayment_password_set(int payment_password_set) {
            this.payment_password_set = payment_password_set;
        }

        public int getPhone_bind() {
            return phone_bind;
        }

        public void setPhone_bind(int phone_bind) {
            this.phone_bind = phone_bind;
        }

        public String getPhone_verify_at() {
            return phone_verify_at;
        }

        public void setPhone_verify_at(String phone_verify_at) {
            this.phone_verify_at = phone_verify_at;
        }

        public int getEmail_bind() {
            return email_bind;
        }

        public void setEmail_bind(int email_bind) {
            this.email_bind = email_bind;
        }

        public String getEmail_verify_at() {
            return email_verify_at;
        }

        public void setEmail_verify_at(String email_verify_at) {
            this.email_verify_at = email_verify_at;
        }

        public int getSecurity_level() {
            return security_level;
        }

        public void setSecurity_level(int security_level) {
            this.security_level = security_level;
        }

        public int getJd_level() {
            return jd_level;
        }

        public void setJd_level(int jd_level) {
            this.jd_level = jd_level;
        }

    }

}
